package com.mvc.framework.service;

import java.io.Serializable;

/**
 * CRUD interfase
 *
 * @param <T> entity
 * @param <PK> primary key
 * @author pubx 2010-3-29 09:38:26
 */
public interface Manager<T, PK extends Serializable>{

	T get(PK id);

	T load(PK id);

	void delete(PK id);

	void delete(T entity);

	void save(T entity);

	Serializable createSystemId();
}
